package com.eclink.iot.tcpserver.domain.business;

import jakarta.websocket.Session;
import lombok.Data;

@Data
public class DeviceWebsocketSession {

    public DeviceWebsocketSession(Session session) {
        this.session = session;
    }

    private String uuid;

    private Session session;

    public void sendTag(String tag) {
       session.getAsyncRemote().sendText(tag);
    }

}
